Leadtools.Codecs Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
FeedGetInformation(Byte[],Int32,Int32) Method
See Also 
Leadtools.Codecs Namespace > RasterCodecs Class > FeedGetInformation Method : FeedGetInformation(Byte[],Int32,Int32) Method



data
The image file data.
offset
Offset from the beginning of the buffer to where the image data starts.
length
Total size (in bytes) of the image data.
Supplies image data to the file information process from a buffer that you provide.

Syntax

Visual Basic (Declaration) 
Public Overloads Function FeedGetInformation( _
   ByVal data() As Byte, _
   ByVal offset As Integer, _
   ByVal length As Integer _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As RasterCodecs
Dim data() As Byte
Dim offset As Integer
Dim length As Integer
Dim value As Boolean
 
value = instance.FeedGetInformation(data, offset, length)
C# 
public bool FeedGetInformation( 
   byte[] data,
   int offset,
   int length
)
C++/CLI 
public:
bool FeedGetInformation( 
   array<byte>^ data,
   int offset,
   int length
) 

Parameters

data
The image file data.
offset
Offset from the beginning of the buffer to where the image data starts.
length
Total size (in bytes) of the image data.

Return Value

true if the get information process requires more data, false otherwise. When this method returns false, you can break out of the loop and call StopFeedGetInformation to obtain the CodecsImageInfo object containing the information of the image file.

Example

For an example, refer to StartFeedGetInformation.

Remarks

Use this method with the StartFeedGetInformation and StopFeedGetInformation methods.

For a description of how the methods relate to each other, refer to StartFeedGetInformation.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also